import time
from datetime import datetime
from typing import Optional
from sqlmodel import SQLModel, Field


# 定义用户模型
class Base(SQLModel):
    deleted: Optional[int] = 0
    create_time: datetime = Field(default=None, index=True)
    update_time: datetime = Field(default=None, index=True)
